//
//  CollectionViewCell.m
//  Feel_at_home
//
//  Created by dlios on 15/9/29.
//  Copyright © 2015年 Feel_at_home. All rights reserved.
//

#import "CollectionViewCell.h"

@implementation CollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    
    if (self) {
        self.lable = [[UILabel alloc]init];
        [self.contentView addSubview:self.lable];
        self.lable.textAlignment = 1;
        self.imageview = [[UIImageView alloc]init];
        [self.contentView addSubview:self.imageview];
        
        
    }
    return self;
}


- (void)layoutSubviews
{
    [super layoutSubviews];
    self.imageview.frame = CGRectMake(0, 0, self.frame.size.width, 70);
    self.lable.frame = CGRectMake(0, 70, self.frame.size.width, 60);
}


@end
